//
//  HJMinePresent.h
//  KaiChat
//
//  Created by lx on 2023/10/17.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HJMinePresent : NSObject


+ (void)loginWithAccount:(NSString *)account password:(NSString *)password complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)registerWithAccount:(NSString *)account password:(NSString *)password complete:(void (^__nullable)(NSError * _Nullable error))complete;

+ (void)sendResetPasswordEmailCode:(NSString *)email complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)sendRegisterEmailCode:(NSString *)email complete:(void (^__nullable)(NSError * _Nullable error))complete;

+ (void)verifyWalletOperationCodeWithEmail:(NSString *)email code:(NSString *)code complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)verifyResetPasswordCodeWithEmail:(NSString *)email code:(NSString *)code complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)verifyRegisterCodeWithEmail:(NSString *)email code:(NSString *)code complete:(void (^__nullable)(NSError * _Nullable error))complete;

+ (void)logoutComplete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)unfreezeWithEmail:(NSString *)email password:(NSString *)password  complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)revokedComplete:(void (^__nullable)(NSError * _Nullable error, NSString *message))complete;
+ (void)refreshTokenComplete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)setPasswordWithEmail:(NSString *)email password:(NSString *)password  complete:(void (^__nullable)(NSError * _Nullable error))complete;
+ (void)getAgreementComplete:(void (^__nullable)(NSString * _Nullable url))complete;
+ (void)loadVersionInfoComplete:(void (^__nullable)(NSDictionary * _Nullable data, NSError * _Nullable error))complete;
+ (void)loadVersionListWithPageIndex:(NSInteger)pageIndex pageSize:(NSInteger)pageSize complete:(void (^__nullable)(NSArray * _Nullable data, NSError * _Nullable error))complete;
+ (void)loadUserInfoComplete:(void (^__nullable)(NSDictionary * _Nullable info))complete;

@end

NS_ASSUME_NONNULL_END


